﻿namespace Deppton.Model
{
    public class Question
    {
        public Question()
        {
            this.Options = new QuestionOption[0];
        }

        public string Id
        {
            get;
            set;
        }

        public string Description
        {
            get;
            set;
        }

        public QuestionKind Kind
        {
            get;
            set;
        }

        public bool Required
        {
            get;
            set;
        }

        public string Precondition
        {
            get;
            set;
        }

        public string Condition
        {
            get;
            set;
        }

        public QuestionOption[] Options
        {
            get;
            set;
        }
    }
}

